package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 对象 hc_apply
 * 
 * @author ruoyi
 * @date 2023-03-31
 */
public class HcApply extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    private Long id;

    /** 领用单号 */
    @Excel(name = "领用单号")
    private String aid;

    /** 耗材编号 */
    @Excel(name = "耗材编号")
    private String hcode;

    /** 耗材名称 */
    @Excel(name = "耗材名称")
    private String hname;

    /** 领用数量 */
    @Excel(name = "领用数量")
    private Long num;

    /** 备注 */
    @Excel(name = "备注")
    private String des;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setAid(String aid) 
    {
        this.aid = aid;
    }

    public String getAid() 
    {
        return aid;
    }
    public void setHcode(String hcode) 
    {
        this.hcode = hcode;
    }

    public String getHcode() 
    {
        return hcode;
    }
    public void setHname(String hname) 
    {
        this.hname = hname;
    }

    public String getHname() 
    {
        return hname;
    }
    public void setNum(Long num) 
    {
        this.num = num;
    }

    public Long getNum() 
    {
        return num;
    }
    public void setDes(String des) 
    {
        this.des = des;
    }

    public String getDes() 
    {
        return des;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("aid", getAid())
            .append("hcode", getHcode())
            .append("hname", getHname())
            .append("num", getNum())
            .append("des", getDes())
            .toString();
    }
}
